<?php

include 'config.php';
include 'common.php';

$url = trim($_GET['url']);
if(isset($_COOKIE['token'])) {
    header("Location: {$url}");
} else {
    setcookie("url",$url);
    header("Location: https://m.mxzhuawawa.com/wx_login.php");
}



